package psrc.logic.pages.consultaComissaoRepresentante;

import java.sql.SQLException;
import java.util.List;

import psrc.bd.dao.ConsultaComissaoRepresentanteDAO;
import psrc.logic.util.beans.ComissaoRepresentanteBean;

public class ComissaoRepresentanteModel {

public ConsultaComissaoRepresentanteDAO dao = new ConsultaComissaoRepresentanteDAO(null);

	public ComissaoRepresentanteBean getList(String representante, String fabrica, String dataInicio, String dataFim){		
		try {
			return dao.comissao(representante, fabrica, dataInicio, dataFim);
		} catch (SQLException e) {
			e.printStackTrace();
			return null;
		}
	}

}
